/*
${' '}* Copyright ${.now?string('yyyy')} The JA-SIG Collaborative. All rights reserved.
${' '}* distributed with this file and available online at
${' '}*/
package ${basePackage}.domain.${module}.repository;<#lt>

import ${basePackage}.domain.${module}.${className};

import java.util.Optional;
/**
${' '}* ${(tableComment)!''}仓储接口
${' '}*
${' '}* @author ${author!'System generator'}
${' '}* @version ${version!'1.0.0'}
${' '}*/
public interface ${className}Repository {

  Integer save(${className} ${lowerName});

  Optional<${className}> findById(Integer id);

  int deleteById(Integer id);
}
